package com.houtai.eduorder;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName OrdersApplication
 * @Description TODO
 * @Author xst
 * @Date 2022/12/14 18:07
 * @Version 1.0
 **/
@SpringBootApplication
@EnableDiscoveryClient
//远程调用
@EnableFeignClients
@ComponentScan(basePackages = {"com.houtai"})
@MapperScan("com.houtai.eduorder.mapper")
public class OrdersApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrdersApplication.class, args);
    }
}
